<nav>
      <?php include_partial('menu');?>     
</nav>
<article>
<h1 id="titulobeca">Tipos de Documentos</h1>

<table>
  <thead>
      <tr>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
    <tr>
      <th></th>
      <th>Nombre</th>
      <th>Eliminar</th>
      <th></th>
    </tr>
    <tr>
      <th></th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($tipo_documentos as $tipo_documento): ?>
    <tr>
        <td></td>
      <td><?php echo $tipo_documento->getNombre() ?></td>
      <td><?php echo link_to('Eliminar', 'tipo_documento/delete?id='.$tipo_documento->getId(), array('method' => 'delete', 'confirm' => 'Seguro?')) ?></td>
      <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr> 
    <?php endforeach; ?>
  </tbody>
  <tfoot>
      <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr> 
    <tr>
        <td></td>
        <td>
            <form action="<?php echo url_for('tipo_documento/new') ?>" method="POST">
                <input type="submit"  value="Crear Nuevo Tipo de Documento">
            </form>
        </td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>          
        <td></td>
        <td></td>
    </tr>
  </tfoot>
</table>
</article>
